package com.bjx.generator.domain.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @desc: 表字段BO
 * @author: liushuai
 * @date: 2022/7/13 15:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(title = "TableFieldBO",description = "表字段BO")
public class TableFieldBO {
    @Schema(title = "tableId",description = "表ID")
    private String tableId;
    @Schema(title = "fieldName",description = "字段名称")
    private String fieldName;
    @Schema(title = "fieldDesc",description = "字段描述")
    private String fieldDesc;
    @Schema(title = "fieldType",description = "字段类型")
    private String fieldType;
    @Schema(title = "fieldLength",description = "字段长度")
    private Integer fieldLength;
    @Schema(title = "primaryKey",description = "是否主键")
    private Boolean primaryKey;
    @Schema(title = "isNullAble",description = "是否不可以为空")
    private Boolean isNullAble;

}
